package com.xfly.app.bean;

import java.io.Serializable;
import java.util.List;

public class MsBean {

    /**
     * id : 1
     * member_id : 1001
     * stime : 1567338164
     * etime : 1570282258
     * goods : [{"title":"测试商品一","cover":"2","sale":19,"stock":996},{"title":"测试商品二","cover":"15","sale":1,"stock":0}]
     * discount : 0.80
     * status : 1
     * create_time : 0
     */

    private int id;
    private int member_id;
    private int stime;
    private int etime;
    private String discount;
    private int status;
    private int create_time;
    private List<MzBean.GoodsBean> goods;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getStime() {
        return stime;
    }

    public void setStime(int stime) {
        this.stime = stime;
    }

    public int getEtime() {
        return etime;
    }

    public void setEtime(int etime) {
        this.etime = etime;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public List<MzBean.GoodsBean> getGoods() {
        return goods;
    }

    public void setGoods(List<MzBean.GoodsBean> goods) {
        this.goods = goods;
    }

    public static class GoodsBean implements Serializable {
        /**
         * title : 测试商品一
         * cover : 2
         * sale : 19
         * stock : 996
         */

        private String title;
        private String cover;
        private int sale;
        private int stock;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getSale() {
            return sale;
        }

        public void setSale(int sale) {
            this.sale = sale;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }
    }
}
